package com.lei.sqlGoodsJsp.servlet;

import java.util.ArrayList;
import java.util.List;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

import com.lei.sqlGoodsJsp.entity.User;

public class UserServlet extends HttpServlet {
List<User> goodsOne=new ArrayList();
private long count=1L;
	@Override
	public void init() throws ServletException {
		goodsOne.add(new User(count++,"张三","52456896","宇航员"));
		goodsOne.add(new User(count++,"张二","55656689","螳螂"));
		goodsOne.add(new User(count++,"李四","89456896","劈里啪啦"));
		goodsOne.add(new User(count++,"张五","11245896","花间集"));
		goodsOne.add(new User(count++,"张六","52456896","糊盒机"));
		goodsOne.add(new User(count++,"张八","52400896","魔王"));
		goodsOne.add(new User(count++,"刘备","33456896","飞行员"));
		goodsOne.add(new User(count++,"张飞","57756896","技术员"));
		goodsOne.add(new User(count++,"成龙","52258896","灰机"));
		goodsOne.add(new User(count++,"马云","99456896","眩光"));
	}
	
}
